[32on64 kexec] Add an explicit local branch after re-enabling paging
authorIan Campbell <ian.campbell@xensource.com>
Tue, 3 Jul 2007 09:30:15 +0000 (10:30 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Tue, 3 Jul 2007 09:30:15 +0000 (10:30 +0100)
in 32 bit mode.

While it doesn't appear to be strictly required the documentation
calls for it. Thanks to Edwin Zhai for bringing the omission to my
attention.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
xen/arch/x86/x86_64/compat_kexec.S

index 54b51437f858f6c51e679b8b163782b479957638..da3136f886901d37732deb2a7e83c68306f4e56d 100644 (file)
@@ -144,6 +144,8 @@ compatibility_mode:
         movl %cr0, %eax
         orl $X86_CR0_PG, %eax
         movl %eax, %cr0
+        jmp 1f
+1:
 
         popl %eax
         call *%eax